package br.ufpe.cin.mac.parser;

public class XBind {

	public static final String tagName = "Bind";

	private String from;

	private String to;

	private String through;

	private String id;

	public XBind(String id, String from, String to, String through) {
		setFrom(from);
		setTo(to);
		setThrough(through);
		setId(id);
	}

	private void setFrom(String from) {
		this.from = from;
	}

	private void setId(String id) {
		this.id = id;
	}

	private void setThrough(String through) {
		this.through = through;
	}

	private void setTo(String to) {
		this.to = to;
	}

	public static String getTagName() {
		return tagName;
	}

	public String getFrom() {
		return from;
	}

	public String getId() {
		return id;
	}

	public String getThrough() {
		return through;
	}

	public String getTo() {
		return to;
	}

}
